package com.gree.framework.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created by 180551 on 2019/6/15.
 * 安全用户表
 */
@Data
@Table("SMBSE01${comp}")
public class SysUser implements Serializable {

    private static final long serialVersionUID = 3409012266457292462L;

    /**
     * 用户ID
     */
    @Name
    private String usid;

    /**
     * 用户名
     */
    private String nama;

    /**
     * 密码
     */
    private String pawd;

    /**
     * 厂家
     */
    private String suno;
    private String loginIp;
    private String dsca;
    private String grup;
    private String dscb;
    private String dept;
    private String dscc;
    private String comp;
    private String dscd;
    private String tela;
    private String telb;
    private String telc;
    private String emil;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date indt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date exdt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lxdt;
    private String adip;
    private String url;
    private Long auid;
    private Integer teno;
    private String buyr;
    private String ipdz;
    private String webn;
    private int port;
    private Integer isem;
    private String eml2;
    private List<Map<String, Object>> upad;
    private Integer llck;
    private String token;
    private String openID;
    private Integer swjk;//商务监控权限  1：可分配  0：无分配权限
    private String avatar;//头像图片地址
}
